Release 10.1A: OpenEdge Data Management:
SQL Reference
SQLPStatement.rowCount
Returns the number of rows affected (selected, inserted, updated, or deleted) by the SQL statement. This method is common to the
SQLCursor,SQLIStatement, andSQLPStatementclasses.Format
public int rowCount()Returns
An integer indicating the number of rows.
Parameters
None
Throws
Example
DhSQLExceptionThis example uses the rowCount method of the
SQLPStatementclass by nesting the method invocation withinSQLResultSet.setto store the number of rows affected (1, in this case) in the procedure’s result set:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |